#ifndef QMLSQLWRAPPER_H
#define QMLSQLWRAPPER_H

#include <QObject>
#include <Database/AnalysisSql.h>
#include <QVariantMap>
#include <QVariantList>
#include <QMap>
#include <QList>

class QmlSqlWrapper : public QObject
{
    Q_OBJECT

public:
    Q_INVOKABLE QVariantList getPatientList();
    Q_INVOKABLE QVariantList getDealList(QString name, QString testId);


public:
    explicit QmlSqlWrapper(QObject *parent = nullptr);

private:
    AnalysisSql *sqlPtr;
};

#endif // QMLSQLWRAPPER_H
